package com.ruoyi.sales.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.io.Serializable;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.annotation.Excel;

/**
* 销售单对象 zc_sales_list
*
* @author woo
* @date 2024-04-09
*/
@TableName("zc_sales_list")
public class ZcSalesList implements Serializable
{
private static final long serialVersionUID = 1L;

/** 销售单表id */
@TableId(value = "sales_id",type = IdType.AUTO)
private Long salesId;

/** 销售编号 */
@Excel(name = "销售编号")
private Long salesNumber;

/** 计划编码id */
@Excel(name = "计划编码id")
private Long codeId;

/** 定金 */
@Excel(name = "定金")
private String startMoney;

/** 尾款 */
@Excel(name = "尾款")
private String endMoney;

/** 要求完成时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "要求完成时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date dueTime;

/** 实际完成时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "实际完成时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date finishTime;

/** 状态（待生产/生产中/待入库/待收货/退货中/已完成） */
@Excel(name = "状态", readConverterExp = "待=生产/生产中/待入库/待收货/退货中/已完成")
private String status;

/** 逻辑删除 */
private Long del;

    /** 创建者 */
    private String createBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 更新者 */
    private String updateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public void setSalesId(Long salesId)
{
this.salesId = salesId;
}

public Long getSalesId()
{
return salesId;
}
public void setSalesNumber(Long salesNumber)
{
this.salesNumber = salesNumber;
}

public Long getSalesNumber()
{
return salesNumber;
}
public void setCodeId(Long codeId)
{
this.codeId = codeId;
}

public Long getCodeId()
{
return codeId;
}
public void setStartMoney(String startMoney)
{
this.startMoney = startMoney;
}

public String getStartMoney()
{
return startMoney;
}
public void setEndMoney(String endMoney)
{
this.endMoney = endMoney;
}

public String getEndMoney()
{
return endMoney;
}
public void setDueTime(Date dueTime)
{
this.dueTime = dueTime;
}

public Date getDueTime()
{
return dueTime;
}
public void setFinishTime(Date finishTime)
{
this.finishTime = finishTime;
}

public Date getFinishTime()
{
return finishTime;
}
public void setStatus(String status)
{
this.status = status;
}

public String getStatus()
{
return status;
}
public void setDel(Long del)
{
this.del = del;
}

public Long getDel()
{
return del;
}

@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("salesId", getSalesId())
.append("salesNumber", getSalesNumber())
.append("codeId", getCodeId())
.append("startMoney", getStartMoney())
.append("endMoney", getEndMoney())
.append("dueTime", getDueTime())
.append("finishTime", getFinishTime())
.append("status", getStatus())
.append("createTime", getCreateTime())
.append("updateTime", getUpdateTime())
.append("createBy", getCreateBy())
.append("updateBy", getUpdateBy())
.append("del", getDel())
.toString();
}
}